package com.gupao.dubbo.netty.client.loadbalance;

import java.util.List;
import java.util.Random;

public class LoadbalanceImpl implements ILoadBalance {
    private Random random = new Random();
    ;

    public String loadbalance(List<String> repos) {
        return repos.get(random.nextInt(repos.size()));
    }
}
